# $Id: Makefile,v 1.1.1.1 2003/01/19 06:01:21 root Exp $
#
#
#

PCAP = libpcap-1.0.0

TARGET = $(PCAP)/libpcap.a

TARGET2 = $(PCAP)/libpcap_profall.a

all: $(TARGET)

profall: $(TARGET2)

$(TARGET): $(PCAP)/Makefile
	cd $(PCAP); $(MAKE); cd ..
	cp $(PCAP)/libpcap.a ../lib

$(TARGET2): $(PCAP)/Makefile
	cd $(PCAP); $(MAKE) profall; cd ..
	cp $(PCAP)/libpcap_profall.a ../../lib

$(PCAP)/Makefile:
	cd $(PCAP); ./configure --srcdir=.; cd ..

clean:
	cd $(PCAP); $(MAKE) clean; cd ..
	rm -f $(PCAP)/Makefile
